FROM dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:11-ubuntu
RUN mkdir -p /examples && chown -R www-data:www-data /examples
COPY --chown=www-data:www-data target/examples-gateway.jar /examples/examples-gateway.jar
WORKDIR /examples
USER 33
CMD java -jar /examples/examples-gateway.jar